//
//  MTParseXMLObject.h
//  ASITest
//
//  Created by zrz on 11-7-15.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "tree.h"

@interface MTParseXMLObject : NSObject {
	void*	obj;
	id		superObj,
			document;
}

@property (assign) void*	obj;
@property (assign) id		superObj , document;

+ (id)objWithPoint:(void*)obj Super:(id)superObj Document:(id)doc;
- (id)initWithPoint:(void*)obj Super:(id)superObj Document:(id)doc;

- (MTParseXMLObject*)next;
- (MTParseXMLObject*)prev;
- (MTParseXMLObject*)child;
- (MTParseXMLObject*)parent;
- (MTParseXMLObject*)last;
- (NSString*)name;
- (xmlElementType)type;
- (BOOL)isEquelToXMLObj:(MTParseXMLObject*)comObj;
- (BOOL)isEmpty;

@end
